package com.piggy.logi.sys.vo;

import cn.hutool.core.util.IdUtil;
import com.piggy.logi.sys.api.vo.LogiPricePlanExtVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 项目收发货线路管理视图对象 logi_project_ship_line
 *
 * @author piggy
 * @date 2023-08-18
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
@ApiModel("项目收发货线路扩展")
public class LogiProjectShipLineExtVo extends LogiProjectShipLineVo implements Serializable {

	private static final long serialVersionUID = 1L;

	/** 收货方客户id */
	@ApiModelProperty("收货方客户")
	private LogiCustomerExtVo recvCustomer;

	/** 发货方客户 */
	@ApiModelProperty("发货方客户")
	private LogiCustomerExtVo sendCustomer;

	/** 收货方地址 */
	@ApiModelProperty("收货方地址")
	private LogiCustomerBookVo recvBook;

	/** 发货方地址 */
	@ApiModelProperty("发货方地址")
	private LogiCustomerBookVo sendBook;

	@ApiModelProperty("项目线路价格方案")
	private LogiPricePlanExtVo pricePlan;

	@ApiModelProperty("uuid")
	private String uuid = IdUtil.fastUUID().toLowerCase();

}
